package com.yimaxiaoerlang.rtc_kit.model;

import java.util.ArrayList;

public  class CallEvent {
    public String event;
    public String channelId;
    public String userName = "哈哈哈哈哈哈";
    public String userAvatar =
            "https://img2.baidu.com/it/u=298515701,1099770965&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500";
    public boolean isMulit;

    public CallEvent(String event, String channelId, boolean isMulti) {
        this.event = event;
        this.channelId = channelId;
        this.isMulit = isMulti;
    }

    public ArrayList<CallUser>  users = new ArrayList<>();
    public boolean isMulti() {
//        = users.isNotEmpty()
        if (users == null) return false;
        if (users.isEmpty()) return false;
        return true;
    }
}
